/*
 * Hibiscus is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published
 * by the Free Software Foundation; either version 3 of the License,
 * or (at your option) any later version.
 *
 * Hibiscus is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Hibiscus; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 * USA
 *
 * Copyright (C) 2003 Tetete - http://tetete.hu.
 */
package hu.tetete.hibiscus.propertytree;

import hu.tetete.hibiscus.dal.PropertyDao;
import hu.tetete.hibiscus.propertyvalue.PropertyValue;

import java.util.HashMap;

import android.app.Service;

/**
 * TODO javadoc.
 * TODO use implements instead of extends.
 */
public abstract class PropertyTreeService extends Service {

    /**
     * @return TODO javadoc.
     */
    public abstract HashMap<Long, PropertyValue> getValues();

    /**
     * @param id TODO javadoc.
     * @return TODO javadoc.
     */
    public abstract boolean removeValue(final Long id);

    /**
     * @param id TODO javadoc.
     * @param value TODO javadoc.
     */
    public abstract void putValue(Long id, PropertyValue value);

    /**
     * @param id TODO javadoc.
     * @return TODO javadoc.
     */
    public abstract PropertyValue getValue(final Long id);

    /**
     * @return Returns a property data access object.
     */
    public abstract PropertyDao getPropertyDao();

}
